program CHROMIUM;

{$APPTYPE CONSOLE}

uses
  FastMM4,
  SysUtils,
  uniAmmo in 'Class\uniAmmo.pas',
  uniAudio in 'Class\uniAudio.pas',
  uniAudioSDLMixer in 'Class\uniAudioSDLMixer.pas',
  uniConfig in 'Class\uniConfig.pas',
  uniDefine in 'Class\uniDefine.pas',
  uniGlobal in 'Class\uniGlobal.pas',
  uniEnemyAircraft in 'Class\uniEnemyAircraft.pas',
  uniEnemyAircraft_Boss00 in 'Class\uniEnemyAircraft_Boss00.pas',
  uniEnemyAircraft_Boss01 in 'Class\uniEnemyAircraft_Boss01.pas',
  uniEnemyAircraft_Gnat in 'Class\uniEnemyAircraft_Gnat.pas',
  uniEnemyAircraft_Omni in 'Class\uniEnemyAircraft_Omni.pas',
  uniEnemyAircraft_RayGun in 'Class\uniEnemyAircraft_RayGun.pas',
  uniEnemyAircraft_Straight in 'Class\uniEnemyAircraft_Straight.pas',
  uniEnemyAircraft_Tank in 'Class\uniEnemyAircraft_Tank.pas',
  uniEnemyAmmo in 'Class\uniEnemyAmmo.pas',
  uniEnemyFleet in 'Class\uniEnemyFleet.pas',
  uniExplosions in 'Class\uniExplosions.pas',
  uniExtern in 'Class\uniExtern.pas',
  uniGround in 'Class\uniGround.pas',
  uniGroundMetal in 'Class\uniGroundMetal.pas',
  uniGroundMetalSegment in 'Class\uniGroundMetalSegment.pas',
  uniGroundSea in 'Class\uniGroundSea.pas',
  uniGroundSeaSegment in 'Class\uniGroundSeaSegment.pas',
  uniGroundSegment in 'Class\uniGroundSegment.pas',
  uniHeroAircraft in 'Class\uniHeroAircraft.pas',
  uniHeroAmmo in 'Class\uniHeroAmmo.pas',
  uniHiScore in 'Class\uniHiScore.pas',
  uniMainGL in 'Class\uniMainGL.pas',
  uniMainGLUT in 'Class\uniMainGLUT.pas',
  uniMainSDL in 'Class\uniMainSDL.pas',
  uniMainToolkit in 'Class\uniMainToolkit.pas',
  uniMenuGL in 'Class\uniMenuGL.pas',
  uniPowerUps in 'Class\uniPowerUps.pas',
  uniScreenItem in 'Class\uniScreenItem.pas',
  uniScreenItemAdd in 'Class\uniScreenItemAdd.pas',
  uniStatusDisplay in 'Class\uniStatusDisplay.pas',
  unitextGeometry in 'Class\unitextGeometry.pas',
  uniLog in 'Class\uniLog.pas',
  PNGLoader in 'Class\PNGLoader.pas',
  pngextra in 'Class\pngextra.pas',
  pngimage in 'Class\pngimage.pas',
  pnglang in 'Class\pnglang.pas',
  zlibpas in 'Class\zlibpas.pas',
  unitextGeometryChromium in 'Class\unitextGeometryChromium.pas',
  unitextGeometryBSU in 'Class\unitextGeometryBSU.pas';

var
  i,tmp, vm: Integer;
  _config: Config;
  game: Global;
  _hiScore: HiScore;
  argc: Integer;
  argv: string;
begin
  { TODO -oUser -cConsole Main : Insert code here }
  vm := 2;
  _config := uniConfig.instance;
  game := uniGlobal.getInstance;
  _hiScore := uniHiScore.getInstance;

  uniGlobal.generateRandom;
  toolkit := MainSDL.Create;
  //toolkit := MainGLUT.Create(argc,argv);

  _hiScore.print(_config.intSkill);
  toolkit.run;

  _hiScore.Destroy;
  _config.Destroy;
   game.Destroy;

end.

